package com._520it.wms.query;

import lombok.Getter;
import lombok.Setter;

/**
 * Created by dd on 2017/11/15.
 */
//分页对象
@Getter
@Setter
public class QueryObject {
    private int currentPage = 1;//当前页
    private int pageSize = 5;//页面大小

    public int getStart() {
        return (currentPage - 1) * pageSize;
    }
}
